Skip to content

Check if community build used |Nothing signature #14998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

…e types.

This also fixes `summon[ClassTag[Int | Nothing]]` as it is now equivalent to `summon[ClassTag[Int]]`.

Fixes scala#14970
Fixes scala#14964

> ⚠️ This is a binary breaking change.

> the Previous version generated the `def f: Int` and `def f: Object` variants of the method.
> In the new one, we only generate the `def f: Int` version.
> Unfortunately, the previous version called the boxed version of the interface that does not exist anymore.
>
> Is this something that we encounter in practice?
@nicolasstucki nicolasstucki self-assigned this Apr 21, 2022
@nicolasstucki nicolasstucki deleted the fix-nothing-or-value-type-erasure-test-disallow branch April 21, 2022 14:01
@nicolasstucki nicolasstucki restored the fix-nothing-or-value-type-erasure-test-disallow branch May 2, 2022 15:17
@nicolasstucki nicolasstucki reopened this May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant